package com.find.securityswagger.controller;

import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName HelloController
 * @Description
 * @Author find me
 * @Date 2020/6/25 0025 20:42
 * @Version 1.0
 */
@RestController
@Api("测试工程")
@RequestMapping("api2.0")
public class HelloController {

    @GetMapping("/admin/hello")
    public String admin() {
        return "admin";
    }
}
